<?php
class property_age extends property{  

	public function init(){

		$this -> currentValue = 0;

	}

	public function event(event $event){

		if($event instanceof event_heartbeat){
			$this -> currentValue++;
		}

	}

}  
?>
